﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="PAS._Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
    <link href="CSS/Main.css" type="text/css" rel="stylesheet" />
    <script>
        function DoButtonClick(btnId) {
            if (event.keyCode == 13) {
                var btn = document.getElementById(btnId);
                btn.onclick();
                return false;
            }
            else
                return true;
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div class="PageNav">
        首页
    </div>
    <p></p><p></p>
    <div>
    参与人姓名：<asp:TextBox ID="txtName" runat="server" onkeydown="DoButtonClick('bSelectOption');" ></asp:TextBox>
        <input type="button" id="bSelectOption" runat="server" value="选择比赛项目" onserverclick="btnSelectOption_Click" />
    </div>
    <p></p>
    <div>管理员密码：<asp:TextBox ID="txtPwd" runat="server" TextMode="Password" onkeydown="DoButtonClick('bLogin');"></asp:TextBox>
    <input type="button" id="bLogin" runat="server" value="进入后台管理" onserverclick="btnLogin_Click" />
    </div>
    </form>
    
</body>
</html>
